package com.atguigu.javaee.IIOC;

import com.atguigu.javaee.IOC.Buttom;

public class Car {
    public FrameWork frameWork;
    public Car(FrameWork frameWork){
        this.frameWork=new FrameWork(new Buttom(15));
    }
    public void init(){
        System.out.println("执行CAR");
        frameWork.init();
    }
        //依赖车身
}
